import { Form } from 'antd-mini/es/Form/form';
import city from '/pages/myziliao/city';
Page({
    data: {
      city,
        toastShow: false,
        radioGroupOptions: [
          { value: '男', label: '男' },
          { value: '女', label: '女' },
      ],

    },
    onLoad() {
        this.form = new Form();
    },
    handleRef(ref) {
        this.form.addItem(ref);
    },
    reset() {
        this.form.reset();
    },
    showToast() {
        this.setData({
            toastShow: true,
        });
    },
    handleCloseToast() {
        this.setData({
            toastShow: false,
        });
    },
});
